package cn.iocoder.yudao.module.system.controller.admin.userretention.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户留存率统计响应VO
 *
 * @author 系统
 */
@Schema(description = "管理后台 - 用户留存率统计响应VO")
@Data
public class UserRetentionStatsRespVO {

    @Schema(description = "总用户数", example = "1000")
    private Long totalUsers;

    @Schema(description = "3日留存用户数", example = "655")
    private Long retention3DayUsers;

    @Schema(description = "7日留存用户数", example = "452")
    private Long retention7DayUsers;

    @Schema(description = "15日留存用户数", example = "288")
    private Long retention15DayUsers;

    @Schema(description = "3日留存率", example = "65.5")
    private Double retention3DayRate;

    @Schema(description = "7日留存率", example = "45.2")
    private Double retention7DayRate;

    @Schema(description = "15日留存率", example = "28.8")
    private Double retention15DayRate;

    @Schema(description = "平均登录天数", example = "8.5")
    private Double averageLoginDays;

    @Schema(description = "活跃用户数", example = "800")
    private Long activeUsers;

    @Schema(description = "流失用户数", example = "200")
    private Long churnedUsers;
}